package com.wlc.pojo;

import lombok.Data;
import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * 考勤统计实体类
 */
@Data
public class AttendanceStats {
    // 部门考勤统计
    private String deptName;
    private Long totalEmployees;
    private Long normalCount;
    private Long lateCount;
    private Long earlyLeaveCount;
    private Long absentCount;
    private BigDecimal attendanceRate;

    // 个人考勤统计
    private String employeeName;
    private LocalDate recordDate;
    private String attendanceStatus; // 正常、迟到、早退、缺勤

    // 时间维度统计
    private String statDate;
    private Long totalRecords;
    private Long abnormalRecords;
    private BigDecimal abnormalRate;

    // 月份统计
    private String month;
    private BigDecimal avgAttendanceRate;
}